import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '../components/Home.vue'
import Add from '../components/Add.vue'
import List from '../components/List.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            component: Home
        },
        {
            path: '/home',
            component: Home
        },
        {
            path: '/add',
            component: Add
        },
        {
            path: '/list',
            component: List
        }
    ]
});

export default router